package com.hzcx.app.simplechat.ui.chat.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.chat.bean.GroupSearchBean;

import java.util.List;

public interface GroupSearchContract {
    interface View extends IView {
        void searchGroupListResult(List<GroupSearchBean> data);
        void onFail();
    }

    interface Presenter extends IPresenter<GroupSearchContract.View> {
        void searchGroupList(Context context, String s);
    }
}
